<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>JavaScript Test for function validString()</title>
<script type="text/javascript" src="../e885Common.js"></script>
<script type="text/javascript" src="../e885MathUtil.js"></script>
<script type="text/javascript">
function doTest()
{
	var value = getObject( 'testId' ).value;
	
	var returnValue = mathRound( value, 2 );
	
	alert( "11:" + returnValue );
}
</script>
</head>

<body>
<p>JavaScript Tes for function mathRound()</p>
<p>取小數點第二位, 四捨五入</p>
<input type="text" size="10" id="testId">
<br>
<input type="button" value="測試" onclick="doTest()">
</body>
</html>